package com.leaf.sdk.infrastructure.openai;


import com.leaf.sdk.infrastructure.openai.dto.ChatCompletionRequestDTO;
import com.leaf.sdk.infrastructure.openai.dto.ChatCompletionSyncResponseDTO;

public interface IOpenAI {

    /**
     * chatglm 代码评审
     * @param requestDTO
     * @return
     * @throws Exception
     */
    ChatCompletionSyncResponseDTO completions(ChatCompletionRequestDTO requestDTO) throws Exception;

}
